package com.ruoyi.business.service;

import java.util.List;
import com.ruoyi.business.domain.BusinessAccessRule;

/**
 * 准入规则Service接口
 * 
 * @author ruoyi
 * @date 2025-07-31
 */
public interface IBusinessAccessRuleService 
{
    /**
     * 查询准入规则
     * 
     * @param id 准入规则主键
     * @return 准入规则
     */
    public BusinessAccessRule selectBusinessAccessRuleById(Long id);

    /**
     * 查询准入规则列表
     * 
     * @param businessAccessRule 准入规则
     * @return 准入规则集合
     */
    public List<BusinessAccessRule> selectBusinessAccessRuleList(BusinessAccessRule businessAccessRule);

    /**
     * 新增准入规则
     * 
     * @param businessAccessRule 准入规则
     * @return 结果
     */
    public int insertBusinessAccessRule(BusinessAccessRule businessAccessRule);

    /**
     * 修改准入规则
     * 
     * @param businessAccessRule 准入规则
     * @return 结果
     */
    public int updateBusinessAccessRule(BusinessAccessRule businessAccessRule);

    /**
     * 批量删除准入规则
     * 
     * @param ids 需要删除的准入规则主键集合
     * @return 结果
     */
    public int deleteBusinessAccessRuleByIds(Long[] ids);

    /**
     * 删除准入规则信息
     * 
     * @param id 准入规则主键
     * @return 结果
     */
    public int deleteBusinessAccessRuleById(Long id);
}
